<?php
/**
 * Created by PhpStorm.
 * User: coolinmind
 * Date: 05/01/2019
 * Time: 16:16
 */

namespace App\Services\Index;

use App\Services\Index\Index\IndexLogic;

class Index
{
    public function sendCode($data)
    {
        $data = pick_array($data, ['phone']);
        return (new IndexLogic())->sendCode($data);
    }
}
